package com.hhss.eurekaribbonclient.controller;

import com.hhss.eurekaribbonclient.service.RibbonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: zcc
 * @Date: 19-9-30 09:55
 * @Description:
 */
@RestController
public class RibbonController {

    @Autowired
    RibbonService ribbonService;

    @RequestMapping("ribbonHello")
    public String hello(String name){
        return ribbonService.hello(name);
    }
}
